home *** CD-ROM | disk | FTP | other *** search
- /************************************************************************************
-
- Sound101.h
-
- © 1992 Praxitel, Inc. and Iggi Monahelis
-
- Defines and function protos for the project
-
- *************************************************************************************/
- #include <Sound.h>
- #include <SoundInput.h>
-
-
- void Record_snd_resource(long quality);
- void Record_AIFF_sound(long quality);
- void PlayASound(void);
- void PlaySND(int tempId);
- void PlayAIFF(void);
- extern pascal void MyCallBack (SndChannelPtr chan);
- Boolean DisplayGetFile(SFReply *reply);
- void GetQuality(void);
- void ToggleRadioButtons( DialogPtr theDialog, short oldItem, short newItem);
- void SetRadioButton( DialogPtr theDialog, short theItem);
-
- void main(void);
- void SetUpMenus(void);
- void EventLoop(void);
- void DoEvent(EventRecord *event);
- void DoMenuCommand(long menuResult);
- void Terminate(void);
-
-
-
- #define aboutDlgID 128
- #define optionsDlgID 129
-
- #define dDone 1
- #define dCancel 2
- #define dBest 3
- #define dBetter 4
- #define dGood 5
-
-
- #define mApple 128 /* Apple menu */
- #define iAbout 1
-
- #define mFile 129 /* File menu */
- #define iPlaySound 1
- #define iRecordsndSound 2
- #define iRecordAIFFSound 3
- #define iQuality 5
- #define iQuit 6